package cn.colins.raft.config;

import lombok.Getter;

import java.util.Set;

/**
 * @Description 节点的配置
 * @Author czl
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2023/7/18
 */
@Getter
public class NodeConfig {

    private ServerConfig selfConfig;

    private Set<ServerConfig> clusterConfig;


    public NodeConfig(ServerConfig selfConfig, Set<ServerConfig> clusterConfig) {
        this.selfConfig = selfConfig;
        this.clusterConfig = clusterConfig;
    }
}
